package com.endoc.news.fragment.mvvm.model;

import com.endoc.news.fragment.base.BaseMvvmModel;
import com.endoc.news.fragment.base.BaseViewModel;

import java.util.List;

public interface IBaseModelListener<DATA> {
    public void success(BaseMvvmModel baseMvvmModel, DATA  t, PagingResult... pagingResults);


    public void fail(BaseMvvmModel baseMvvmModel, Throwable e, PagingResult... pagingResults);
}
